package ${packageName}.${className_x}.service;

import ${packageName}.${className_x}.entity.${className_d};
import ${packageName}.${className_x}.entity.${className_d}Param;
import ${packageName}.${className_x}.entity.${className_d}Vo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ${className_d}Service {

    ${className_d}Vo query(${className_d}Param param);

    ${className_d}Vo queryById(String id);

    List<${className_d}Vo> queryByIds(List<String> ids);

    Long count(${className_d}Param param);

    List<${className_d}Vo> queryList(${className_d}Param param);

    PageInfo<${className_d}Vo> queryPage(${className_d}Param param);

    String insert(${className_d} entity);

    List<String> batchInsert(List<${className_d}> list);

    Integer updateById(${className_d} entity);

    String save(${className_d} entity);

    Integer deleteById(String id);

    Integer delete(${className_d} entity);

    Integer deleteRecordById(String id);

    Integer deleteRecord(${className_d} entity);

}